how to calculate producer surplus from equations